﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRDD.InputDto._0623
{
    /// <summary>
    ///  按商品或店铺获取服务信息
    /// </summary>
    public class InputServiceByProduct
    {
        /// <summary>
        ///  用户id
        /// </summary>
        [RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "登录用户id必传项！")]//大于0正则表达式
        public int user_id { get; set; }
        /// <summary>
        ///  素材id
        /// </summary>
        public int file_id { get; set; }
        /// <summary>
        ///  关联商品id
        /// </summary>
        public int dd_id { get; set; }
        /// <summary>
        ///  店铺（导航）path
        /// </summary>
        public string folder_path { get; set; }
    }
}